Skip to content

empty_results helper suggests actions even when not allowed#2091

Open
mgrdcm wants to merge 2 commits into
unfoldadmin:mainfrom
mgrdcm:empty_results_message_tweak
Open

empty_results helper suggests actions even when not allowed#2091
mgrdcm wants to merge 2 commits into
unfoldadmin:mainfrom
mgrdcm:empty_results_message_tweak

Conversation

@mgrdcm

@mgrdcm mgrdcm commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Right now when there are no results, there's a message suggesting to Create a new item or reset your filters even when neither of those options aren't being presented below.

This strips that sentence from the message if no actions are available.

Test plan

Use of AI

None

@mgrdcm mgrdcm marked this pull request as ready for review June 10, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant